package com.atguigu.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Jetwang
 * @version 1.0
 * @since 2022/6/30 13:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    @ExcelProperty(value = "用户编号", index = 0)
    private Integer id;

    @ExcelProperty(value = "用户名称", index = 1)
    private String name;
}
